package com.byb.server.service.mapper;

import com.byb.server.domain.*;
import com.byb.server.service.dto.WcInsuranceTypeDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity WcInsuranceType and its DTO WcInsuranceTypeDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface WcInsuranceTypeMapper extends EntityMapper <WcInsuranceTypeDTO, WcInsuranceType> {
    
    
    default WcInsuranceType fromId(Long id) {
        if (id == null) {
            return null;
        }
        WcInsuranceType wcInsuranceType = new WcInsuranceType();
        wcInsuranceType.setId(id);
        return wcInsuranceType;
    }
}
